/* 注册页面样式 - 绿色主题 */

/* 注册页面样式 */
.container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 背景图片层 */
.backgroundLayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.backgroundImage {
  object-fit: cover;
}

/* 蓝色遮罩层 */
.backgroundOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0049AA;
  opacity: 0.7;
  backdrop-filter: blur(2px);
}

/* 主要内容 */
.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 40px 20px 20px;
  color: white;
}

/* 头部样式 - 与登录页面一致 */
/* 头部标题 */
.loginHeader {
  text-align: left;
  margin-bottom: 1pt;
  margin-top: 100px;
  animation: fadeInUp 0.8s ease-out;
}

.logo {
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.welcomeText {
  font-family: 'PingFangSC-Regular', sans-serif;
  font-style: normal;
  font-size: 24pt;
  font-weight: normal;
  margin: 0 0 10px 0;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-family: 'PingFangSC-Regular', sans-serif;
  font-style: normal;
  font-size: 16pt;
  font-weight: normal;
  margin: 0;
  color: #FFFFFF;
}

.dot {
  color: #FF8C00;
  font-weight: bold;
}

/* 表单容器 */
.loginCard {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 350px;
  margin: 0 auto;
  width: 100%;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cardHeader {
  text-align: center;
  margin-bottom: 30px;
}

.cardTitle {
  color: #FFFFFF;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

/* 输入框样式 */
.inputGroup {
  margin-bottom: 25px;
}

.inputWrapper {
  position: relative;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.inputIcon {
  margin-right: 15px;
  opacity: 0.8;
}

.loginInput {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 15px 0;
  color: white;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.loginInput:focus {
  border-color: #FF8C00;
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

.loginInput::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* 注册按钮样式 */
.loginBtn {
  width: 100%;
  height: 50px;
  background: #FF8C00;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 60px;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.loginBtn:hover {
  background: #FF7700;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.loginBtn:disabled {
  background: #cca37a;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 底部链接样式 */
.bottomLinks {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
}

.linkText {
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 14px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.linkText:hover {
  color: rgba(255, 255, 255, 1);
  text-decoration: underline;
}

/* 消息提示样式 */
.message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 1000;
  animation: slideDown 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.success {
  background: linear-gradient(135deg, #52c41a, #389e0d);
}

.error {
  background: linear-gradient(135deg, #ff4d4f, #cf1322);
}

.info {
  background: linear-gradient(135deg, #1890ff, #096dd9);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .content {
    padding: 15px;
  }
  
  .loginCard {
    padding: 30px 20px;
    margin: 0 10px;
  }
  
  .welcomeText {
    font-size: 36px;
  }
  
  .subtitle {
    font-size: 14px;
  }
  
  .loginInput {
    padding: 12px 12px 12px 40px;
    font-size: 14px;
  }
  
  .loginBtn {
    padding: 14px;
    font-size: 14px;
  }
  
  .logo {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .loginCard {
    padding: 25px 15px;
  }
  
  .welcomeText {
    font-size: 28px;
  }
  
  .cardTitle {
    font-size: 18px;
  }
}